/*
 * GestionEnvioDto.java
 *
 * Created on 3 de enero de 2007, 02:19 PM
 *
 * To change this template, choose Tools | Options and locate the template under
 * the Source Creation and Management node. Right-click the template and choose
 * Open. You can then make changes to the template in the Source Editor.
 */

package com.src.computec.facturacion.precosto.dto;

/**
 *
 * @author jlperea
 */
public class GestionEnvioDto implements java.io.Serializable
{
    private String codigoGestion;    
    private String nombreGestion;
    private int numeroEnvios = 0;   
    
    private String codigoTipoGestion;
    private String codigoCliente;
    /**
     * Creates a new instance of GestionEnvioDto 
     */
    public GestionEnvioDto() {
    }

    public boolean equals(Object obj)
    {
        return this.codigoGestion.equals( ((GestionEnvioDto)obj).getCodigoGestion() );
    }
    
    public String getCodigoGestion() {
        return codigoGestion;
    }

    public void setCodigoGestion(String codigoGestion) {
        this.codigoGestion = codigoGestion;
    }

    public String getNombreGestion() {
        return nombreGestion;
    }

    public void setNombreGestion(String nombreGestion) {
        this.nombreGestion = nombreGestion;
    }

    public int getNumeroEnvios() {
        return numeroEnvios;
    }

    public void setNumeroEnvios(int numeroEnvios) {
        this.numeroEnvios = numeroEnvios;
    }

    public String getCodigoTipoGestion() {
        return codigoTipoGestion;
    }

    public void setCodigoTipoGestion(String codigoTipoGestion) {
        this.codigoTipoGestion = codigoTipoGestion;
    }

    public String getCodigoCliente() {
        return codigoCliente;
    }

    public void setCodigoCliente(String codigoCliente) {
        this.codigoCliente = codigoCliente;
    }
    
}
